/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package gruppe1projekt.ModelLayer;

import java.util.ArrayList;
import java.util.Date;

/**
 *
 * @author Moulde
 */
public class SupplySale
{
    private Date Date;
    private Employee Employee;
    private ArrayList<ProductSalesLine> saleLines;
    private boolean IsConcluded;
    private boolean IsApproved;

    public SupplySale(Date Date, Employee Employee, ArrayList<ProductSalesLine> saleLines)
    {
        this.Date = Date;
        this.Employee = Employee;
        this.saleLines = saleLines;
    }

    public SupplySale(Employee Employee, ArrayList<ProductSalesLine> saleLines)
    {
        this(new Date(), Employee, saleLines);
    }

    public ArrayList<ProductSalesLine> getSaleLines()
    {
        return saleLines;
    }

    public void setSaleLines(ArrayList<ProductSalesLine> saleLines)
    {
        this.saleLines = saleLines;
    }

    public Employee getEmployee()
    {
        return Employee;
    }

    public void setEmployee(Employee Employee)
    {
        this.Employee = Employee;
    }

    public Date getDate()
    {
        return Date;
    }

    public void setDate(Date Date)
    {
        this.Date = Date;
    }

    public boolean isIsApproved()
    {
        return IsApproved;
    }

    public void setIsApproved(boolean IsApproved)
    {
        this.IsApproved = IsApproved;
    }

    public boolean isIsConcluded()
    {
        return IsConcluded;
    }

    public void setIsConcluded(boolean IsConcluded)
    {
        this.IsConcluded = IsConcluded;
    }
}
